using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;

namespace DailyReport.Core.Bussines.IManagers
{
    public interface IManager
    {
        /// <summary>
        /// Returns a list with instances of the domain object(for a ObjectDataSource)
        /// </summary>
        /// <param name="sortExpression"></param>
        /// <param name="startRowIndex"></param>
        /// <param name="maxRows"></param>
        /// <returns></returns>
        IList GetInstanceList(string sortExpression, int startRowIndex, int maxRows);

        /// <summary>
        /// Returns the count of instances of the domain object (for a ObjectDataSource)
        /// </summary>
        /// <returns></returns>
        int CountInstances();
    }
}
